home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / stocks / stok_utl.zip / STOK_UTL.DOC < prev    next >
Text File  |  1996-04-17  |  8KB  |  160 lines

  1.  
  2.                             Stock Utilities
  3.  
  4.                                written by
  5.  
  6.                               Terry Blount
  7.  
  8.  
  9.  The following utilities were written to help  track,  analyze  and  spot
  10.  trends in the stock marked based on using stock market  quotes  provided
  11.  by Planet Connect (and maybe other  services  using  the  same  format).
  12.  These utilities are provided for entertainment  purposes.  Don't  invest
  13.  your hard earned money on any stock because of  trends  these  utilities
  14.  may seem to suggest! The information fields in the  quotes  provided  by
  15.  Planet Connect are formatted as follows: Symbol, Last Sale Volume,  Last
  16.  sale price, Open price, Highest price today, Lowest price today, current
  17.  bid, current offer, Total volume today.
  18.  
  19.  
  20.                               COMPARE.EXE
  21.  
  22.  This is the main (and most powerful) utility.   It can check all  30,000
  23.  listings from any two quote files and compare the changes in each  stock
  24.  and calculate the percentage of loss or gain from one quote to  another.
  25.  It was written to run as fast as possible so there can be a problem when
  26.  there are more than two stocks in succession missing from the base file.
  27.  While the program is running it will be flashing the names of the stocks
  28.  it is working on. If it stops flashing those names and  starts  printing
  29.  several asterisks(*) on the screen then has encountered a problem. Press
  30.  ctrl-break and then remove the stock listed on your  screen  (that  came
  31.  from the first (base) file) when the problem occurred.  A utility  named
  32.  "TakeOut.exe" is included to make this easy.  This doesn't happen  often
  33.  but if there is a sharp decline in the market there could  be a  lot  of
  34.  stocks disappearing.As long as you are checking the prices of a group of
  35.  stocks that have extracted by "StokPick.exe" you'll probably never  run
  36.  into this problem.
  37.  
  38.  When you run Compare.exe you need the name of the oldest stock quote  on
  39.  the command line as the first parameter... and the  name  of  the  newer
  40.  stock quote file on the command line as the second  parameter.   If  you
  41.  include a minus (-) as the third parameter the stocks that  declined  in
  42.  value will also be included... otherwise only the stocks that  showed  a
  43.  increase in price will be listed  in  the  outfile.   The  name  of  the
  44.  outfile is determined by the name of the two quotes. For example, if the
  45.  first quote file is  named  "Quote11"  and  the  second  file  is  named
  46.  "Quote22" the name of the outfile will be "11-22" It  may  be a  little
  47.  extra work, but when you extract the Quotes.asc files from the archives
  48.  it helps you keep them organized and makes these utilities work  better
  49.  if you rename the "Quotes.asc" to QUOTExx   ....where the "xx"  is  the
  50.  day the PCSTOKxx archive was created.
  51.  
  52.  This  is  the  format  that  Compare.exe  saves  the  information   to:
  53.  Stock Symbol - Percentage Change - Base quote Price - Last Quote  Price
  54.  
  55.  When the base quote price and last quote price are written the  decimal
  56.  is intentionally left out in order to make it easier for some  programs
  57.  to add a column of numbers.  A price such as 1075 is actually  10  3/4.
  58.  
  59.  * Remember this:  When a stock has lost value the percentage of  change
  60.  that is calculated by "Compare.exe" is NOT the  actual  percentage  the
  61.  stock dropped... rather it calculates the  percentage  the  stock  will
  62.  have to recover in order to regain the original value.    For  example:
  63.  If a stock is selling for $10 and it drops to $5 that is an actual loss
  64.  of %50 ...however, this same stock will have to  increase  by  %100  in
  65.  order to break even.  Compare.exe reports the  stock  as  100-  in  the
  66.  percentage column.
  67.  
  68.  Note: Stocks that aren't listed in fraction format AND stocks that  have
  69.  an asterisk in the price quote are ignored.
  70.  
  71.  
  72.                               MYSTOCKS.EXE
  73.  
  74.  This utility converts a list of  stocks  (in a  column  format)  into  a
  75.  format that is used by "StokPick.exe"   You  can  easily  track  several
  76.  portfolios simply by listing the stock symbols in a column  and  placing
  77.  them in double quotes is separate ascii files.  For example, one of your
  78.  list may look like this:
  79.  
  80. "CHEV"
  81. "GE"
  82. "GM"
  83. "MMM"
  84. "XON"
  85.  
  86.  Mystocks will reformat the list and save it to a file name  Mystocks.lst
  87.  If you don't list the name of  your  ascii  file  on  the  command  line
  88.  Mystock.exe will default to look for  the  list  saved  under  the  name
  89.  Mystocks. This step will allow you to track a portfolio that can include
  90.  up to a thousand stocks and it makes the extraction process very  fast.
  91.  
  92.  Attention: Mystocks.exe has been updated to allow three  new  features:
  93.   1. The quotes (") are now optional in your list.
  94.   2. Comments after column 8 are ignored.
  95.   2. If there is a space in column #1 that line will  also  be  ignored.
  96.  
  97. "GE"          General Electric, Bought at $72 1/2  Jan. 95
  98.  These are automotive stocks
  99. CHEV
  100. GM
  101.  These stocks were suggested by uncle Bob
  102. "MMM"
  103. "XON"
  104.  
  105.  
  106.                               STOKPICK.EXE
  107.  
  108.  This utility exacts the list of stocks you want to  track  from  the  30
  109.  thousand (give or take a few)  that  are  listed  in  the  reports.   It
  110.  saves the selected stock quotes to a file named !Picked.  You  can  then
  111.  compare the "!Picked" list to a more current quote and quickly find  out
  112.  how well the portfolio is doing.
  113.  
  114.  
  115.                               GREATER.EXE
  116.  
  117.  If you combine several stock quote files... say the closing  quote  file
  118.  every  Wednesday...  all  into a  single  file...  you  can   then   run
  119.  "StokPick.exe" and extract the stocks you want to track from that  giant
  120.  file... and then  use the utility "FRA2DEC.EXE"  to  convert  the  stock
  121.  prices to decimal format... you'll then be ready to run "GREATER.EXE" to
  122.  show you which stocks are showing  an  increase  in  price  each  week.
  123.  
  124.                                ADDup.exe
  125.  
  126.  After you run Compare.exe you'll have a list of stocks, their percentage
  127.  change and the base price and the price from the more current quote. The
  128.  purpose of ADDup.exe is to ADD UP these price columns and  calculate the
  129.  total loss/gain and percentage of change of the entire portfolio.   Just
  130.  run ADDup.exe with the name of the file built  by  Compare.exe  on  the
  131.  command line.  Example:  Addup 10-20
  132.  
  133.                                 TRIM.exe
  134.  
  135.  This utility removes the stock quotes from the daily quote files that do
  136.  not include the Last Sales Price.   This  will  reduce  the  disk  space
  137.  required to store the quotes by %75   ...and  it  makes  all  the  other
  138.  utilities run much faster. If you run "Trim.exe" on a  quote  file  that
  139.  has already been "trimmed" it won't make any changes.  To  use  Trim.exe
  140.  just run it with the name  of  the  quote  file  on  the  command  line.
  141.  Example: Trim Quotes.asc
  142.  
  143.  The new Quote.asc file will be modified and the old one will be deleted.
  144.  Also note that Trim.exe changes the format. The new format will  replace
  145.  the Last Sales Volume field with the  Total  Volume  Today  field.  This
  146.  change in format does  not  have  an  influence  on  any  of  the  other
  147.  utilities mentioned in this doc.  It simply helps them run about 4 times
  148.  faster. Example of the new format:
  149.  
  150.  Symbol Tot.Vol Last Sale Price
  151.  "GE","89900","76 1/4"
  152.  
  153.  
  154.  
  155.                               Terry Blount
  156.                               P.O. Box 36
  157.                              Bayou La Batre
  158.                              Alabama  36509
  159.                            BBS # 334-824-2552
  160.